home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / Shape Geometry < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  698 b   |  [TEXT/ttxt]

  1. Subject:     Shape Geometry
  2. Sent:        5/7/96 3:42 PM
  3. Received:    5/8/96 12:55 PM
  4. From:        Karl Jepsen, kjepsen@dharbor.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. We have found a very significant increase in performace if we tell the
  9. OpenDoc shapes to loose their geometry before performing operations on them
  10. (as done by the following code example)
  11.  
  12.    fTextPunchedOutShape = ::FW_NewODShape(ev);
  13.    fTextPunchedOutShape->SetGeometryMode(ev,kODLoseGeometry);
  14.  
  15. Is there (or should there be) a way to tell the framework to always default
  16. new shapes (via FW_NewODShape...) to loose their geometry?
  17.  
  18. Karl Jepsen
  19.  
  20.  
  21.